import {defaultRoutes} from "../defaultRoutes";
import {downloadApp} from "./downloadApp";
import {userStore} from "./userStore";
import {createContext} from "react";
import {topicStore} from "./topic";
import gamePagePosition from "./gamePagePosition";

export const store = {
    routes: defaultRoutes,
    downloadApp: downloadApp,
    user: userStore,
    topic: topicStore,
    gamePagePosition: gamePagePosition,
}

export const GlobalStore = createContext(store)
